/*
 * @Author: jack
 * @Date: 2021-11-07 19:06:01
 * @Last Modified by: jack
 * @Last Modified time: 2021-11-07 19:06:01
 */

// import { LOGIN_URL, REG_URL, ROLE_LIST_URL } from '@/api/sys.account'
// import { BASE_DATA_URL } from '@/api/sys.base'
export const TYPE_NAME = "confType";

// 高德地图秘钥
export const MAP_KEYS = '6ac48bd7be908482c01b1f8bb8cb6cdf'

// 高德地图插件列表
export const MAP_PLUGINS = [
  'AMap.Scale',
  'AMap.Geocoder',
  'AMap.ToolBar',
  'AMap.PlaceSearch',
]

// 上传图片压缩比例
export const COMPRESS_RATE = 0.5


/**
 * 后台提供一个接 通过类型获取对应数据
 * 此处定义类型
 */
export const ConfigType = {
  STATION: "STATION_TYPE",
  POST: "POST_TYPE",
  SUBSYS: "SUBSYSTEM_TYPE"
};

// 收款类型
export const DEALTYPE = {
  0: "首次收款",
  4: "收尾款",
  5: "新增成交",
  6: "退款",
  7: "金额修正"
};

// 成交列表 收款类型
export const DEALLISTTYPELIST = [
  { id: 0, name: "首次收款" },
  { id: 4, name: "收尾款" },
  { id: 5, name: "新增成交" },
  { id: 6, name: "退款" },
  { id: 7, name: "金额修正" }
];

// 收款类型-列表
export const DEALTYPELIST = [
  { id: 4, name: "收尾款" },
  { id: 1, name: "收全款" },
  { id: 3, name: "收定金" }
];

// 收款类型-成交记录列表
export const DEALRECORDTYPELIST = [
  { id: 2, name: "部分款" },
  { id: 1, name: "全款" },
  { id: 3, name: "定金" }
];

// 成交记录-报名费处理-列表
export const DEALENROLLFEELIST = [
  { id: 1, name: "门诊抵扣" },
  { id: 2, name: "门诊未抵扣，门诊退" },
  { id: 3, name: "门诊未抵扣，平台退" }
];

// 客户-报名费处理-列表
export const ENROLLFEELIST = [
  { id: 1, name: "已交" },
  { id: 0, name: "未交" }
];

// 客户状态
export const CUSTOMERSTATUS = [
  { id: 1, name: "待联系" },
  { id: 2, name: "待预约" },
  { id: 3, name: "已预约" },
  { id: 8, name: "已成交" },
  { id: 7, name: "未成交" }
];

// 预约状态
export const BOOKSTATUSLIST = [
  { id: 5, name: "待到店" },
  { id: 6, name: "已取消" },
  { id: 8, name: "已成交" },
  { id: 4, name: "已改约" },
  { id: 7, name: "未成交" }
];

// 图表颜色
export const ECHARTCOLOR = [
  "#167FFF",
  "#91cc75",
  "#40D69F",
  "#FFA04C",
  "#73c0de",
  "#3ba272",
  "#fc8452",
  "#9a60b4",
  "#ea7ccc"
];

// 性别
export const GENDERLIST = [
  { id: "男", name: "男" },
  { id: "女", name: "女" },
  { id: "未知", name: "未知" }
];

//医院成交情况-筛选项
export const DEALPROJECTLIST = [
  { id: 1, name: "成交金额" },
  { id: 2, name: "收款金额" },
  { id: 3, name: "客单价" },
  { id: 4, name: "种植客单价" },
  { id: 5, name: "矫正客单价" }
];

// 发票需求
export const INVOICENEED = [
  { id: 0, name: '否' },
  { id: 1, name: '是' }
]

// 发票进度
export const INVOICEPROGRESS = [
  { id: 0, name: '待申请' },
  { id: 1, name: '处理中' },
  { id: 2, name: '已出具' }

]

// 结算状态
export const SETTLESTATUS = [
  { id: 0, name: '未结算' },
  { id: 1, name: '已结算' },
  { id: 2, name: '结算中' }
]

// 结算状态
export const BILLSETTLESTATUS = [
  { id: 1, name: '已结算' },
  { id: 2, name: '结算中' }
]

// 缴费类型
export const PAYMENTTYPE = [
  { id: 4, name: '尾款' },
  { id: 5, name: '新增成交' }
]

// 错误类型
export const DIFFTYPELIST = [
  { id: 1, name: '成交差额' },
  { id: 2, name: '收款差额' }
]

// 潜在成交
export const POTENTIALDEALLIST = [
  { id: 0, name: '无' },
  { id: 1, name: '有' }
]

// 预约-医院反馈-更新反馈-成交情况
export const FEEDBACKDEALSTATUS = {
  7: '未成交',
  8: '已成交'
}

// 预约-医院反馈-更新反馈-跟进分工
export const FEEDBACKFOLLOWUPPARTY = {
  1: '门诊跟进',
  2: '平台跟进'
}